package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 报警措施关系表 实体类
 * 表名：ra_alarm_measure
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "ra_alarm_measure")
public class RaAlarmMeasure implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    
    /**
     * 第三方报警位号主键
     */
    @Column(name = "third_child_id", nullable = false)
    private Long thirdChildId;
    
    /**
     * 防护措施设定值主键
     */
    @Column(name = "defend_setting_id", nullable = false)
    private Long defendSettingId;
    
    /**
     * 防护措施主键
     */
    @Column(name = "defend_measure_id", nullable = false)
    private Long defendMeasureId;
    
    @Override
    public String toString() {
        return "RaAlarmMeasure{" +
            "id=" + id +
            ", thirdChildId=" + thirdChildId +
            ", defendSettingId=" + defendSettingId +
            ", defendMeasureId=" + defendMeasureId +
        '}';
    }
} 